package com.lemon.reggie.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class UserLoginDTO implements Serializable {

    private static final long serialVersionUID = 7722667039670272745L;

    @ApiModelProperty(value = "登录手机号码")
    @NotBlank(message = "手机号码不能为空！")
    private String phone;

    @ApiModelProperty(value = "登录手机验证码")
    @NotBlank(message = "验证码不能为空！")
    private String code;

}
